import Template from ".";
import { WeaLocaleProvider } from 'ecCom';
const { getLabel } = WeaLocaleProvider;
export default class Main extends Template {
    getComponent = () => {
        return (
            <div dangerouslySetInnerHTML={{ __html: `var sheetValues = excel.getFieldValue('Sheet1');//${getLabel('528681','获取Sheet1中所有字段值') }
            <br/>var mainFieldValue = excel.getFieldValue('Sheet1.zd1');//${getLabel('528682','获取Sheet1中字段名称为zd1的主表字段的值') }<br/>
            var detailValues = excel.getFieldValue('Sheet1.detail_1');//${getLabel('528683','获取Sheet1中第一个明细表的字段值')}
            <br/>var detailRowValues = excel.getFieldValue('Sheet1.detail_1.0');//${getLabel('528684','获取Sheet1中第一个明细表的第一行数据') }
            <br />var detailFieldValues = excel.getFieldValue('Sheet1.detail_1.0.zd1');//${getLabel('528685','获取Sheet1中第一个明细表的第一行中zd1的值')}`}} />
        );
    }
}